home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 123 / CD Gamer Issue 123 (June 2003) (Disc 1).ISO / Games / Dev_Demo_EU / data1.cab / App_Executables / System / DInventory.u / ScriptText36.TextBuffer < prev    next >
Unknown  |  2003-02-28  |  5.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 7f 52 2f 2f 2f 2f 2f 2f |........|.R//////|
|00000010| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000020| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000030| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000040| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000050| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 0d 0a 2f 2f 20 20 20 |////////|/..// |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000a0| 20 20 20 20 20 20 20 20 | 2f 2f 0d 0a 2f 2f 20 24 | |//..// $|
|000000b0| 57 6f 72 6b 66 69 6c 65 | 3a 3a 20 44 44 65 74 70 |Workfile|:: DDetp|
|000000c0| 61 63 6b 2e 75 63 20 20 | 20 20 20 20 20 20 20 20 |ack.uc | |
|000000d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000f0| 20 20 20 20 20 20 20 20 | 24 2f 2f 0d 0a 2f 2f 20 | |$//..// |
|00000100| 24 52 65 76 69 73 69 6f | 6e 3a 3a 20 35 36 20 20 |$Revisio|n:: 56 |
|00000110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000140| 20 20 20 20 20 20 20 20 | 20 24 2f 2f 0d 0a 2f 2f | | $//..//|
|00000150| 20 20 20 20 20 24 44 61 | 74 65 3a 3a 20 32 2f 32 | $Da|te:: 2/2|
|00000160| 34 2f 30 33 20 35 3a 30 | 35 70 20 20 20 20 20 20 |4/03 5:0|5p |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000190| 20 20 20 20 20 20 20 20 | 20 20 24 2f 2f 0d 0a 2f | | $//../|
|000001a0| 2f 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |/ | |
|000001b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 2f 2f 0d 0a | | //..|
|000001f0| 2f 2f 20 28 63 29 20 32 | 30 30 30 2d 32 30 30 31 |// (c) 2|000-2001|
|00000200| 20 44 69 67 69 74 61 6c | 6f 20 53 74 75 64 69 6f | Digital|o Studio|
|00000210| 73 2c 20 49 6e 63 2e 20 | 20 20 20 20 20 20 20 20 |s, Inc. | |
|00000220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 0d | | //.|
|00000240| 0a 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |.///////|////////|
|00000250| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000260| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000270| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000280| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000290| 0d 0a 63 6c 61 73 73 20 | 44 44 65 74 70 61 63 6b |..class |DDetpack|
|000002a0| 20 65 78 74 65 6e 64 73 | 20 44 57 65 61 70 6f 6e | extends| DWeapon|
|000002b0| 3b 0d 0a 0d 0a 23 65 78 | 65 63 20 6f 62 6a 20 6c |;....#ex|ec obj l|
|000002c0| 6f 61 64 20 66 69 6c 65 | 3d 2e 2e 5c 54 65 78 74 |oad file|=..\Text|
|000002d0| 75 72 65 73 5c 44 57 65 | 61 70 53 6b 69 6e 73 2e |ures\DWe|apSkins.|
|000002e0| 75 74 78 20 70 61 63 6b | 61 67 65 3d 44 57 65 61 |utx pack|age=DWea|
|000002f0| 70 53 6b 69 6e 73 0d 0a | 0d 0a 76 61 72 20 57 65 |pSkins..|..var We|
|00000300| 61 70 4d 65 64 69 61 49 | 6e 66 6f 20 61 6e 41 63 |apMediaI|nfo anAc|
|00000310| 74 69 76 65 41 2c 20 61 | 6e 41 63 74 69 76 65 42 |tiveA, a|nActiveB|
|00000320| 2c 20 61 6e 41 63 74 69 | 76 65 43 3b 0d 0a 0d 0a |, anActi|veC;....|
|00000330| 76 61 72 20 44 44 65 74 | 70 61 63 6b 49 6e 74 65 |var DDet|packInte|
|00000340| 72 61 63 74 50 6f 69 6e | 74 20 53 61 76 65 64 49 |ractPoin|t SavedI|
|00000350| 50 3b 0d 0a 0d 0a 76 61 | 72 20 62 6f 6f 6c 20 62 |P;....va|r bool b|
|00000360| 53 75 63 63 65 73 73 3b | 0d 0a 0d 0a 73 69 6d 75 |Success;|....simu|
|00000370| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 62 |lated fu|nction b|
|00000380| 6f 6f 6c 20 53 65 6c 65 | 63 74 61 62 6c 65 28 29 |ool Sele|ctable()|
|00000390| 0d 0a 7b 0d 0a 09 69 66 | 20 28 20 57 45 41 50 5f |..{...if| ( WEAP_|
|000003a0| 44 45 42 55 47 3f 20 29 | 0d 0a 09 09 72 65 74 75 |DEBUG? )|....retu|
|000003b0| 72 6e 20 54 52 55 45 3b | 0d 0a 0d 0a 09 72 65 74 |rn TRUE;|.....ret|
|000003c0| 75 72 6e 20 47 65 74 49 | 50 28 29 3f 3b 0d 0a 7d |urn GetI|P()?;..}|
|000003d0| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |....simu|lated fu|
|000003e0| 6e 63 74 69 6f 6e 20 53 | 65 74 46 69 72 65 4d 6f |nction S|etFireMo|
|000003f0| 64 65 28 29 0d 0a 7b 0d | 0a 09 69 66 20 28 20 44 |de()..{.|..if ( D|
|00000400| 50 6c 61 79 65 72 50 61 | 77 6e 28 50 61 77 6e 4f |PlayerPa|wn(PawnO|
|00000410| 77 6e 65 72 29 2e 62 49 | 6e 74 65 72 61 63 74 20 |wner).bI|nteract |
|00000420| 21 3d 20 30 20 29 0d 0a | 09 09 43 75 72 72 65 6e |!= 0 )..|..Curren|
|00000430| 74 46 69 72 65 4d 6f 64 | 65 20 3d 20 50 52 49 46 |tFireMod|e = PRIF|
|00000440| 49 52 45 3b 0d 0a 09 65 | 6c 73 65 0d 0a 09 09 53 |IRE;...e|lse....S|
|00000450| 75 70 65 72 2e 53 65 74 | 46 69 72 65 4d 6f 64 65 |uper.Set|FireMode|
|00000460| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |();..}..|..functi|
|00000470| 6f 6e 20 53 70 61 77 6e | 54 68 72 6f 77 6e 57 65 |on Spawn|ThrownWe|
|00000480| 61 70 6f 6e 28 29 0d 0a | 7b 0d 0a 7d 0d 0a 0d 0a |apon()..|{..}....|
|00000490| 73 69 6d 75 6c 61 74 65 | 64 20 66 75 6e 63 74 69 |simulate|d functi|
|000004a0| 6f 6e 20 62 6f 6f 6c 20 | 50 6c 61 79 65 72 57 61 |on bool |PlayerWa|
|000004b0| 6e 74 73 54 6f 46 69 72 | 65 28 29 0d 0a 7b 0d 0a |ntsToFir|e()..{..|
|000004c0| 09 72 65 74 75 72 6e 09 | 50 6c 61 79 65 72 53 74 |.return.|PlayerSt|
|000004d0| 69 6c 6c 46 69 72 69 6e | 67 28 29 3b 0d 0a 7d 0d |illFirin|g();..}.|
|000004e0| 0a 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |...simul|ated fun|
|000004f0| 63 74 69 6f 6e 20 62 6f | 6f 6c 20 50 6c 61 79 65 |ction bo|ol Playe|
|00000500| 72 53 74 69 6c 6c 46 69 | 72 69 6e 67 28 29 0d 0a |rStillFi|ring()..|
|00000510| 7b 0d 0a 09 2f 2f 20 4f | 74 68 65 72 20 70 69 63 |{...// O|ther pic|
|00000520| 6b 75 70 73 20 6d 61 79 | 20 68 61 76 65 20 66 6f |kups may| have fo|
|00000530| 72 63 65 64 20 62 49 6e | 74 65 72 61 63 74 20 74 |rced bIn|teract t|
|00000540| 6f 20 30 2c 20 63 68 65 | 63 6b 20 68 65 72 65 0d |o 0, che|ck here.|
|00000550| 0a 09 69 66 28 20 21 44 | 50 6c 61 79 65 72 50 61 |..if( !D|PlayerPa|
|00000560| 77 6e 28 4f 77 6e 65 72 | 29 2e 62 49 6e 74 65 72 |wn(Owner|).bInter|
|00000570| 61 63 74 20 29 0d 0a 09 | 09 62 52 65 71 75 65 73 |act )...|.bReques|
|00000580| 74 50 75 74 44 6f 77 6e | 20 3d 20 54 52 55 45 3b |tPutDown| = TRUE;|
|00000590| 0d 0a 0d 0a 09 72 65 74 | 75 72 6e 20 28 50 61 77 |.....ret|urn (Paw|
|000005a0| 6e 4f 77 6e 65 72 2e 62 | 46 69 72 65 3f 20 7c 7c |nOwner.b|Fire? |||
|000005b0| 20 50 61 77 6e 4f 77 6e | 65 72 2e 62 41 6c 74 46 | PawnOwn|er.bAltF|
|000005c0| 69 72 65 3f 20 7c 7c 20 | 44 50 6c 61 79 65 72 50 |ire? || |DPlayerP|
|000005d0| 61 77 6e 28 4f 77 6e 65 | 72 29 2e 62 49 6e 74 65 |awn(Owne|r).bInte|
|000005e0| 72 61 63 74 3f 29 3b 0d | 0a 7d 0d 0a 0d 0a 73 69 |ract?);.|.}....si|
|000005f0| 6d 75 6c 61 74 65 64 20 | 66 75 6e 63 74 69 6f 6e |mulated |function|
|00000600| 20 44 44 65 74 70 61 63 | 6b 49 6e 74 65 72 61 63 | DDetpac|kInterac|
|00000610| 74 50 6f 69 6e 74 20 47 | 65 74 49 50 28 29 0d 0a |tPoint G|etIP()..|
|00000620| 7b 0d 0a 09 72 65 74 75 | 72 6e 20 44 44 65 74 70 |{...retu|rn DDetp|
|00000630| 61 63 6b 49 6e 74 65 72 | 61 63 74 50 6f 69 6e 74 |ackInter|actPoint|
|00000640| 28 44 50 6c 61 79 65 72 | 50 61 77 6e 28 50 61 77 |(DPlayer|Pawn(Paw|
|00000650| 6e 4f 77 6e 65 72 29 2e | 49 6e 74 65 72 61 63 74 |nOwner).|Interact|
|00000660| 50 6f 69 6e 74 29 3b 0d | 0a 7d 0d 0a 0d 0a 73 69 |Point);.|.}....si|
|00000670| 6d 75 6c 61 74 65 64 20 | 66 75 6e 63 74 69 6f 6e |mulated |function|
|00000680| 20 53 65 74 50 6c 61 79 | 65 72 46 69 72 69 6e 67 | SetPlay|erFiring|
|00000690| 41 6e 69 6d 28 20 69 6e | 74 20 46 69 72 69 6e 67 |Anim( in|t Firing|
|000006a0| 4d 6f 64 65 2c 20 62 6f | 6f 6c 20 62 56 61 6c 75 |Mode, bo|ol bValu|
|000006b0| 65 20 29 3b 0d 0a 0d 0a | 73 69 6d 75 6c 61 74 65 |e );....|simulate|
|000006c0| 64 20 73 74 61 74 65 20 | 46 69 72 65 4f 6e 63 65 |d state |FireOnce|
|000006d0| 52 65 61 6c 0d 0a 7b 0d | 0a 09 73 69 6d 75 6c 61 |Real..{.|..simula|
|000006e0| 74 65 64 20 66 75 6e 63 | 74 69 6f 6e 20 54 72 79 |ted func|tion Try|
|000006f0| 49 6e 74 65 72 61 63 74 | 69 6f 6e 28 29 0d 0a 09 |Interact|ion()...|
|00000700| 7b 0d 0a 09 09 53 61 76 | 65 64 49 50 20 3d 20 47 |{....Sav|edIP = G|
|00000710| 65 74 49 50 28 29 3b 0d | 0a 09 09 69 66 20 28 20 |etIP();.|...if ( |
|00000720| 53 61 76 65 64 49 50 3f | 20 29 0d 0a 09 09 7b 0d |SavedIP?| )....{.|
|00000730| 0a 09 09 09 6c 6f 67 28 | 20 73 65 6c 66 40 22 46 |....log(| self@"F|
|00000740| 6f 75 6e 64 20 49 6e 74 | 65 72 61 63 74 50 6f 69 |ound Int|eractPoi|
|00000750| 6e 74 22 40 53 61 76 65 | 64 49 50 2c 20 27 49 6e |nt"@Save|dIP, 'In|
|00000760| 74 65 72 61 63 74 27 20 | 29 3b 0d 0a 09 09 09 50 |teract' |);.....P|
|00000770| 75 73 68 53 74 61 74 65 | 28 20 27 41 72 6d 69 6e |ushState|( 'Armin|
|00000780| 67 44 65 74 70 61 63 6b | 27 20 29 3b 0d 0a 09 09 |gDetpack|' );....|
|00000790| 7d 0d 0a 09 7d 0d 0a 0d | 0a 42 65 67 69 6e 3a 0d |}...}...|.Begin:.|
|000007a0| 0a 09 6c 6f 67 28 73 65 | 6c 66 40 22 46 69 72 65 |..log(se|lf@"Fire|
|000007b0| 4f 6e 63 65 52 65 61 6c | 22 29 3b 0d 0a 09 54 72 |OnceReal|");...Tr|
|000007c0| 79 49 6e 74 65 72 61 63 | 74 69 6f 6e 28 29 3b 0d |yInterac|tion();.|
|000007d0| 0a 09 50 6f 70 53 74 61 | 74 65 28 29 3b 0d 0a 7d |..PopSta|te();..}|
|000007e0| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 73 74 |....simu|lated st|
|000007f0| 61 74 65 20 41 72 6d 69 | 6e 67 44 65 74 70 61 63 |ate Armi|ngDetpac|
|00000800| 6b 0d 0a 7b 0d 0a 09 73 | 69 6d 75 6c 61 74 65 64 |k..{...s|imulated|
|00000810| 20 66 75 6e 63 74 69 6f | 6e 20 49 6e 74 65 72 61 | functio|n Intera|
|00000820| 63 74 69 6f 6e 53 75 63 | 63 65 73 73 28 29 0d 0a |ctionSuc|cess()..|
|00000830| 09 7b 0d 0a 09 09 6c 6f | 67 28 20 53 45 4c 46 40 |.{....lo|g( SELF@|
|00000840| 22 49 6e 74 65 72 61 63 | 74 69 6f 6e 20 53 75 63 |"Interac|tion Suc|
|00000850| 63 65 73 73 22 2c 20 27 | 49 6e 74 65 72 61 63 74 |cess", '|Interact|
|00000860| 27 20 29 3b 0d 0a 09 09 | 44 50 6c 61 79 65 72 50 |' );....|DPlayerP|
|00000870| 61 77 6e 28 20 50 61 77 | 6e 4f 77 6e 65 72 20 29 |awn( Paw|nOwner )|
|00000880| 2e 62 46 69 72 65 20 3d | 20 30 3b 0d 0a 09 09 44 |.bFire =| 0;....D|
|00000890| 50 6c 61 79 65 72 50 61 | 77 6e 28 20 50 61 77 6e |PlayerPa|wn( Pawn|
|000008a0| 4f 77 6e 65 72 20 29 2e | 62 41 6c 74 46 69 72 65 |Owner ).|bAltFire|
|000008b0| 20 3d 20 30 3b 0d 0a 09 | 09 44 50 6c 61 79 65 72 | = 0;...|.DPlayer|
|000008c0| 50 61 77 6e 28 20 50 61 | 77 6e 4f 77 6e 65 72 20 |Pawn( Pa|wnOwner |
|000008d0| 29 2e 62 49 6e 74 65 72 | 61 63 74 20 3d 20 30 3b |).bInter|act = 0;|
|000008e0| 0d 0a 09 09 62 53 75 63 | 63 65 73 73 20 3d 20 54 |....bSuc|cess = T|
|000008f0| 52 55 45 3b 0d 0a 09 09 | 2f 2f 20 4f 6e 6c 79 20 |RUE;....|// Only |
|00000900| 6e 65 65 64 20 74 68 69 | 73 20 61 6e 69 6d 61 74 |need thi|s animat|
|00000910| 69 6f 6e 20 69 6e 20 4d | 50 0d 0a 09 09 69 66 28 |ion in M|P....if(|
|00000920| 20 4c 65 76 65 6c 2e 4e | 65 74 6d 6f 64 65 20 21 | Level.N|etmode !|
|00000930| 3d 20 4e 4d 5f 53 74 61 | 6e 64 61 6c 6f 6e 65 20 |= NM_Sta|ndalone |
|00000940| 29 0d 0a 09 09 09 44 47 | 61 6d 65 50 6c 61 79 65 |).....DG|amePlaye|
|00000950| 72 28 20 4f 77 6e 65 72 | 20 29 2e 53 65 74 41 6e |r( Owner| ).SetAn|
|00000960| 69 6d 53 74 61 74 65 28 | 20 41 53 5f 44 65 66 75 |imState(| AS_Defu|
|00000970| 73 65 45 6e 64 2c 20 74 | 72 75 65 20 29 3b 20 2f |seEnd, t|rue ); /|
|00000980| 2f 20 75 73 65 20 64 65 | 66 75 73 65 20 61 6e 69 |/ use de|fuse ani|
|00000990| 6d 73 0d 0a 09 09 53 74 | 6f 70 4c 61 74 65 6e 74 |ms....St|opLatent|
|000009a0| 28 29 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 2f 2f 69 66 |();...}.|....//if|
|000009b0| 20 77 65 20 67 6f 74 20 | 68 65 72 65 2c 20 74 68 | we got |here, th|
|000009c0| 65 6e 20 77 65 20 66 61 | 69 6c 65 64 20 62 65 63 |en we fa|iled bec|
|000009d0| 61 75 73 65 20 74 68 65 | 20 75 73 65 72 20 6c 6f |ause the| user lo|
|000009e0| 6f 6b 65 64 20 61 77 61 | 79 20 6f 72 20 67 61 76 |oked awa|y or gav|
|000009f0| 65 20 75 70 0d 0a 09 73 | 69 6d 75 6c 61 74 65 64 |e up...s|imulated|
|00000a00| 20 66 75 6e 63 74 69 6f | 6e 20 49 6e 74 65 72 61 | functio|n Intera|
|00000a10| 63 74 69 6f 6e 46 61 69 | 6c 75 72 65 28 29 0d 0a |ctionFai|lure()..|
|00000a20| 09 7b 0d 0a 09 09 6c 6f | 67 28 20 53 45 4c 46 40 |.{....lo|g( SELF@|
|00000a30| 22 49 6e 74 65 72 61 63 | 74 69 6f 6e 20 66 61 69 |"Interac|tion fai|
|00000a40| 6c 75 72 65 22 2c 20 27 | 49 6e 74 65 72 61 63 74 |lure", '|Interact|
|00000a50| 27 20 29 3b 0d 0a 09 09 | 44 50 6c 61 79 65 72 50 |' );....|DPlayerP|
|00000a60| 61 77 6e 28 20 50 61 77 | 6e 4f 77 6e 65 72 20 29 |awn( Paw|nOwner )|
|00000a70| 2e 62 46 69 72 65 20 3d | 20 30 3b 0d 0a 09 09 44 |.bFire =| 0;....D|
|00000a80| 50 6c 61 79 65 72 50 61 | 77 6e 28 20 50 61 77 6e |PlayerPa|wn( Pawn|
|00000a90| 4f 77 6e 65 72 20 29 2e | 62 41 6c 74 46 69 72 65 |Owner ).|bAltFire|
|00000aa0| 20 3d 20 30 3b 0d 0a 09 | 09 44 50 6c 61 79 65 72 | = 0;...|.DPlayer|
|00000ab0| 50 61 77 6e 28 20 50 61 | 77 6e 4f 77 6e 65 72 20 |Pawn( Pa|wnOwner |
|00000ac0| 29 2e 62 49 6e 74 65 72 | 61 63 74 20 3d 20 30 3b |).bInter|act = 0;|
|00000ad0| 0d 0a 09 09 2f 2f 20 4f | 6e 6c 79 20 6e 65 65 64 |....// O|nly need|
|00000ae0| 20 74 68 69 73 20 61 6e | 69 6d 61 74 69 6f 6e 20 | this an|imation |
|00000af0| 69 6e 20 4d 50 0d 0a 09 | 09 69 66 28 20 4c 65 76 |in MP...|.if( Lev|
|00000b00| 65 6c 2e 4e 65 74 6d 6f | 64 65 20 21 3d 20 4e 4d |el.Netmo|de != NM|
|00000b10| 5f 53 74 61 6e 64 61 6c | 6f 6e 65 20 29 0d 0a 09 |_Standal|one )...|
|00000b20| 09 09 44 47 61 6d 65 50 | 6c 61 79 65 72 28 20 4f |..DGameP|layer( O|
|00000b30| 77 6e 65 72 20 29 2e 53 | 65 74 41 6e 69 6d 53 74 |wner ).S|etAnimSt|
|00000b40| 61 74 65 28 20 41 53 5f | 44 65 66 75 73 65 45 6e |ate( AS_|DefuseEn|
|00000b50| 64 2c 20 74 72 75 65 20 | 29 3b 20 2f 2f 20 75 73 |d, true |); // us|
|00000b60| 65 20 64 65 66 75 73 65 | 20 61 6e 69 6d 73 0d 0a |e defuse| anims..|
|00000b70| 09 09 50 6f 70 53 74 61 | 74 65 28 29 3b 0d 0a 09 |..PopSta|te();...|
|00000b80| 7d 0d 0a 0d 0a 09 73 69 | 6d 75 6c 61 74 65 64 20 |}.....si|mulated |
|00000b90| 66 75 6e 63 74 69 6f 6e | 20 50 6c 61 63 65 44 65 |function| PlaceDe|
|00000ba0| 74 70 61 63 6b 28 29 0d | 0a 09 7b 0d 0a 09 09 6c |tpack().|..{....l|
|00000bb0| 6f 63 61 6c 20 44 44 65 | 74 70 61 63 6b 50 72 6f |ocal DDe|tpackPro|
|00000bc0| 6a 20 50 72 6f 6a 3b 0d | 0a 09 09 69 66 28 20 21 |j Proj;.|...if( !|
|00000bd0| 53 61 76 65 64 49 50 20 | 29 0d 0a 09 09 7b 0d 0a |SavedIP |)....{..|
|00000be0| 09 09 09 6c 6f 67 28 20 | 22 45 52 52 4f 52 20 43 |...log( |"ERROR C|
|00000bf0| 61 6e 27 74 20 70 6c 61 | 63 65 20 64 65 74 70 61 |an't pla|ce detpa|
|00000c00| 63 6b 2c 20 6e 6f 20 53 | 61 76 65 64 49 50 22 20 |ck, no S|avedIP" |
|00000c10| 29 3b 0d 0a 09 09 09 49 | 6e 74 65 72 61 63 74 69 |);.....I|nteracti|
|00000c20| 6f 6e 46 61 69 6c 75 72 | 65 28 29 3b 0d 0a 09 09 |onFailur|e();....|
|00000c30| 09 72 65 74 75 72 6e 3b | 0d 0a 09 09 7d 0d 0a 09 |.return;|....}...|
|00000c40| 09 0d 0a 09 09 50 72 6f | 6a 20 3d 20 53 70 61 77 |.....Pro|j = Spaw|
|00000c50| 6e 28 20 63 6c 61 73 73 | 27 44 44 65 74 70 61 63 |n( class|'DDetpac|
|00000c60| 6b 50 72 6f 6a 27 2c 2c | 20 53 61 76 65 64 49 50 |kProj',,| SavedIP|
|00000c70| 2e 44 65 74 6f 6e 61 74 | 69 6f 6e 54 61 67 2c 20 |.Detonat|ionTag, |
|00000c80| 53 61 76 65 64 49 50 2e | 4c 6f 63 61 74 69 6f 6e |SavedIP.|Location|
|00000c90| 20 2b 20 76 65 63 74 28 | 30 2c 30 2c 31 30 29 2c | + vect(|0,0,10),|
|00000ca0| 20 72 6f 74 28 30 2c 31 | 36 33 38 34 2c 30 29 20 | rot(0,1|6384,0) |
|00000cb0| 29 3b 0d 0a 09 09 69 66 | 28 20 21 50 72 6f 6a 20 |);....if|( !Proj |
|00000cc0| 7c 7c 20 50 72 6f 6a 2e | 4c 6f 63 61 74 69 6f 6e ||| Proj.|Location|
|00000cd0| 20 21 3d 20 28 53 61 76 | 65 64 49 50 2e 4c 6f 63 | != (Sav|edIP.Loc|
|00000ce0| 61 74 69 6f 6e 20 2b 20 | 76 65 63 74 28 30 2c 30 |ation + |vect(0,0|
|00000cf0| 2c 31 30 29 29 20 29 0d | 0a 09 20 20 20 20 7b 0d |,10)) ).|.. {.|
|00000d00| 0a 09 09 09 6c 6f 67 28 | 20 22 45 52 52 4f 52 20 |....log(| "ERROR |
|00000d10| 50 6c 61 63 69 6e 67 20 | 64 65 74 70 61 63 6b 3a |Placing |detpack:|
|00000d20| 20 50 72 6f 6a 3d 22 24 | 50 72 6f 6a 40 22 4c 6f | Proj="$|Proj@"Lo|
|00000d30| 63 3d 22 24 28 50 72 6f | 6a 3f 29 3f 3f 73 74 72 |c="$(Pro|j?)??str|
|00000d40| 69 6e 67 28 50 72 6f 6a | 2e 4c 6f 63 61 74 69 6f |ing(Proj|.Locatio|
|00000d50| 6e 29 3a 22 4e 2f 41 22 | 20 29 3b 0d 0a 09 09 09 |n):"N/A"| );.....|
|00000d60| 49 6e 74 65 72 61 63 74 | 69 6f 6e 46 61 69 6c 75 |Interact|ionFailu|
|00000d70| 72 65 28 29 3b 0d 0a 09 | 09 09 72 65 74 75 72 6e |re();...|..return|
|00000d80| 3b 0d 0a 09 09 7d 0d 0a | 09 09 69 66 20 28 20 53 |;....}..|..if ( S|
|00000d90| 6b 69 6e 73 2e 4c 65 6e | 67 74 68 3f 20 29 0d 0a |kins.Len|gth? )..|
|00000da0| 09 09 09 50 72 6f 6a 2e | 53 6b 69 6e 73 5b 30 5d |...Proj.|Skins[0]|
|00000db0| 20 3d 20 54 65 78 74 75 | 72 65 27 44 57 65 61 70 | = Textu|re'DWeap|
|00000dc0| 53 6b 69 6e 73 2e 74 68 | 69 72 64 70 65 72 73 6f |Skins.th|irdperso|
|00000dd0| 6e 2e 73 6b 44 65 74 70 | 6b 5f 42 27 3b 0d 0a 09 |n.skDetp|k_B';...|
|00000de0| 09 0d 0a 09 09 53 61 76 | 65 64 49 50 2e 44 65 74 |.....Sav|edIP.Det|
|00000df0| 70 61 63 6b 20 3d 20 50 | 72 6f 6a 3b 0d 0a 09 09 |pack = P|roj;....|
|00000e00| 50 72 6f 6a 2e 53 65 74 | 54 65 61 6d 28 50 61 77 |Proj.Set|Team(Paw|
|00000e10| 6e 4f 77 6e 65 72 2e 50 | 6c 61 79 65 72 52 65 70 |nOwner.P|layerRep|
|00000e20| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 54 65 61 |lication|Info.Tea|
|00000e30| 6d 29 3b 0d 0a 0d 0a 09 | 09 50 72 6f 6a 2e 44 65 |m);.....|.Proj.De|
|00000e40| 74 6f 6e 61 74 69 6f 6e | 45 76 65 6e 74 20 3d 20 |tonation|Event = |
|00000e50| 53 61 76 65 64 49 50 2e | 44 65 74 6f 6e 61 74 69 |SavedIP.|Detonati|
|00000e60| 6f 6e 45 76 65 6e 74 3b | 0d 0a 09 09 69 66 20 28 |onEvent;|....if (|
|00000e70| 20 21 53 61 76 65 64 49 | 50 2e 62 44 65 6c 61 79 | !SavedI|P.bDelay|
|00000e80| 65 64 45 78 70 6c 6f 73 | 69 6f 6e 20 29 0d 0a 09 |edExplos|ion )...|
|00000e90| 09 7b 0d 0a 09 09 09 6c | 6f 67 28 20 22 41 72 6d |.{.....l|og( "Arm|
|00000ea0| 69 6e 67 20 64 65 74 70 | 61 63 6b 22 2c 20 27 49 |ing detp|ack", 'I|
|00000eb0| 6e 74 65 72 61 63 74 50 | 6f 69 6e 74 27 20 29 3b |nteractP|oint' );|
|00000ec0| 0d 0a 09 09 09 50 72 6f | 6a 2e 41 72 6d 44 65 74 |.....Pro|j.ArmDet|
|00000ed0| 70 61 63 6b 28 29 3b 0d | 0a 09 09 7d 0d 0a 09 09 |pack();.|...}....|
|00000ee0| 65 6c 73 65 0d 0a 09 09 | 09 6c 6f 67 28 20 22 44 |else....|.log( "D|
|00000ef0| 65 6c 61 79 65 64 20 65 | 78 70 6c 6f 73 69 6f 6e |elayed e|xplosion|
|00000f00| 2c 20 77 61 69 74 69 6e | 67 20 66 6f 72 20 74 72 |, waitin|g for tr|
|00000f10| 69 67 67 65 72 22 40 50 | 72 6f 6a 2e 54 61 67 2c |igger"@P|roj.Tag,|
|00000f20| 20 27 49 6e 74 65 72 61 | 63 74 27 20 29 3b 0d 0a | 'Intera|ct' );..|
|00000f30| 0d 0a 09 09 61 6e 4c 6f | 77 65 72 2e 41 6e 69 6d |....anLo|wer.Anim|
|00000f40| 20 3d 20 27 27 3b 0d 0a | 0d 0a 09 09 53 61 76 65 | = '';..|....Save|
|00000f50| 64 49 50 2e 54 72 69 67 | 67 65 72 28 20 53 45 4c |dIP.Trig|ger( SEL|
|00000f60| 46 2c 20 50 61 77 6e 4f | 77 6e 65 72 20 29 3b 0d |F, PawnO|wner );.|
|00000f70| 0a 09 7d 0d 0a 0d 0a 42 | 65 67 69 6e 3a 0d 0a 09 |..}....B|egin:...|
|00000f80| 2f 2f 20 4f 6e 6c 79 20 | 6e 65 65 64 20 74 68 69 |// Only |need thi|
|00000f90| 73 20 61 6e 69 6d 61 74 | 69 6f 6e 20 69 6e 20 4d |s animat|ion in M|
|00000fa0| 50 0d 0a 09 69 66 28 20 | 4c 65 76 65 6c 2e 4e 65 |P...if( |Level.Ne|
|00000fb0| 74 6d 6f 64 65 20 21 3d | 20 4e 4d 5f 53 74 61 6e |tmode !=| NM_Stan|
|00000fc0| 64 61 6c 6f 6e 65 20 29 | 0d 0a 09 09 44 47 61 6d |dalone )|....DGam|
|00000fd0| 65 50 6c 61 79 65 72 28 | 20 4f 77 6e 65 72 20 29 |ePlayer(| Owner )|
|00000fe0| 2e 53 65 74 41 6e 69 6d | 53 74 61 74 65 28 20 41 |.SetAnim|State( A|
|00000ff0| 53 5f 44 65 66 75 73 65 | 2c 20 74 72 75 65 20 29 |S_Defuse|, true )|
|00001000| 3b 20 2f 2f 20 75 73 65 | 20 64 65 66 75 73 65 20 |; // use| defuse |
|00001010| 61 6e 69 6d 73 0d 0a 0d | 0a 09 2f 2f 20 70 6c 61 |anims...|..// pla|
|00001020| 79 20 61 6c 6c 20 74 68 | 65 20 61 72 6d 69 6e 67 |y all th|e arming|
|00001030| 20 61 6e 69 6d 73 0d 0a | 09 50 6c 61 79 4d 65 64 | anims..|.PlayMed|
|00001040| 69 61 28 20 61 6e 41 63 | 74 69 76 65 41 20 29 3b |ia( anAc|tiveA );|
|00001050| 0d 0a 09 46 69 6e 69 73 | 68 41 6e 69 6d 28 29 3b |...Finis|hAnim();|
|00001060| 0d 0a 09 69 66 20 28 20 | 21 50 6c 61 79 65 72 53 |...if ( |!PlayerS|
|00001070| 74 69 6c 6c 46 69 72 69 | 6e 67 28 29 20 7c 7c 20 |tillFiri|ng() || |
|00001080| 21 47 65 74 49 50 28 29 | 20 29 0d 0a 09 7b 0d 0a |!GetIP()| )...{..|
|00001090| 09 09 6c 6f 67 28 73 65 | 6c 66 40 22 46 61 69 6c |..log(se|lf@"Fail|
|000010a0| 72 65 3a 20 21 53 74 69 | 6c 6c 46 69 72 65 20 6f |re: !Sti|llFire o|
|000010b0| 72 20 21 47 65 74 49 50 | 22 29 3b 0d 0a 09 09 49 |r !GetIP|");....I|
|000010c0| 6e 74 65 72 61 63 74 69 | 6f 6e 46 61 69 6c 75 72 |nteracti|onFailur|
|000010d0| 65 28 29 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 62 53 75 |e();...}|.....bSu|
|000010e0| 63 63 65 73 73 20 3d 20 | 46 41 4c 53 45 3b 0d 0a |ccess = |FALSE;..|
|000010f0| 0d 0a 09 4c 6f 6f 70 41 | 6e 69 6d 28 20 61 6e 41 |...LoopA|nim( anA|
|00001100| 63 74 69 76 65 42 2e 41 | 6e 69 6d 2c 20 61 6e 41 |ctiveB.A|nim, anA|
|00001110| 63 74 69 76 65 42 2e 52 | 61 74 65 20 29 3b 0d 0a |ctiveB.R|ate );..|
|00001120| 09 77 68 69 6c 65 20 28 | 20 50 6c 61 79 65 72 53 |.while (| PlayerS|
|00001130| 74 69 6c 6c 46 69 72 69 | 6e 67 28 29 20 26 26 20 |tillFiri|ng() && |
|00001140| 47 65 74 49 50 28 29 3f | 20 26 26 20 4c 65 76 65 |GetIP()?| && Leve|
|00001150| 6c 2e 54 69 6d 65 53 65 | 63 6f 6e 64 73 20 3c 20 |l.TimeSe|conds < |
|00001160| 53 61 76 65 64 49 50 2e | 52 65 71 75 69 72 65 64 |SavedIP.|Required|
|00001170| 49 6e 74 65 72 61 63 74 | 54 69 6d 65 20 2b 20 53 |Interact|Time + S|
|00001180| 61 76 65 64 49 50 2e 4c | 61 73 74 49 6e 74 65 72 |avedIP.L|astInter|
|00001190| 61 63 74 54 69 6d 65 20 | 2d 20 47 65 74 41 6e 69 |actTime |- GetAni|
|000011a0| 6d 44 75 72 61 74 69 6f | 6e 28 61 6e 41 63 74 69 |mDuratio|n(anActi|
|000011b0| 76 65 43 2e 41 6e 69 6d | 2c 20 61 6e 41 63 74 69 |veC.Anim|, anActi|
|000011c0| 76 65 43 2e 52 61 74 65 | 29 20 2d 20 30 2e 32 20 |veC.Rate|) - 0.2 |
|000011d0| 29 0d 0a 09 09 53 6c 65 | 65 70 28 30 2e 31 29 3b |)....Sle|ep(0.1);|
|000011e0| 0d 0a 0d 0a 09 69 66 20 | 28 20 21 50 6c 61 79 65 |.....if |( !Playe|
|000011f0| 72 53 74 69 6c 6c 46 69 | 72 69 6e 67 28 29 20 7c |rStillFi|ring() ||
|00001200| 7c 20 21 47 65 74 49 50 | 28 29 20 29 0d 0a 09 09 || !GetIP|() )....|
|00001210| 49 6e 74 65 72 61 63 74 | 69 6f 6e 46 61 69 6c 75 |Interact|ionFailu|
|00001220| 72 65 28 29 3b 0d 0a 0d | 0a 09 50 6c 61 79 4d 65 |re();...|..PlayMe|
|00001230| 64 69 61 28 20 61 6e 41 | 63 74 69 76 65 43 20 29 |dia( anA|ctiveC )|
|00001240| 3b 0d 0a 09 46 69 6e 69 | 73 68 41 6e 69 6d 28 29 |;...Fini|shAnim()|
|00001250| 3b 0d 0a 0d 0a 09 2f 2f | 20 63 61 6e 27 74 20 6e |;.....//| can't n|
|00001260| 65 63 65 73 73 61 72 69 | 6c 79 20 72 65 6c 79 20 |ecessari|ly rely |
|00001270| 6f 6e 20 47 65 74 49 50 | 20 61 6e 79 6d 6f 72 65 |on GetIP| anymore|
|00001280| 20 61 74 20 74 68 69 73 | 20 70 6f 69 6e 74 0d 0a | at this| point..|
|00001290| 09 69 66 20 28 20 21 50 | 6c 61 79 65 72 53 74 69 |.if ( !P|layerSti|
|000012a0| 6c 6c 46 69 72 69 6e 67 | 28 29 20 26 26 20 21 62 |llFiring|() && !b|
|000012b0| 53 75 63 63 65 73 73 20 | 29 0d 0a 09 09 49 6e 74 |Success |)....Int|
|000012c0| 65 72 61 63 74 69 6f 6e | 46 61 69 6c 75 72 65 28 |eraction|Failure(|
|000012d0| 29 3b 0d 0a 0d 0a 09 2f | 2f 20 6e 6f 77 20 70 6c |);...../|/ now pl|
|000012e0| 61 63 65 20 6f 75 72 20 | 64 65 74 70 61 63 6b 0d |ace our |detpack.|
|000012f0| 0a 09 50 6c 61 79 4d 65 | 64 69 61 28 20 61 6e 46 |..PlayMe|dia( anF|
|00001300| 69 72 65 20 29 3b 0d 0a | 09 53 6c 65 65 70 28 20 |ire );..|.Sleep( |
|00001310| 30 2e 36 20 29 3b 09 09 | 09 2f 2f 20 61 6c 6c 20 |0.6 );..|.// all |
|00001320| 62 6f 77 20 62 65 66 6f | 72 65 20 74 68 65 20 61 |bow befo|re the a|
|00001330| 6e 69 6d 61 67 69 63 20 | 6e 75 6d 62 65 72 21 0d |nimagic |number!.|
|00001340| 0a 0d 0a 09 69 66 20 28 | 20 21 50 6c 61 79 65 72 |....if (| !Player|
|00001350| 53 74 69 6c 6c 46 69 72 | 69 6e 67 28 29 20 26 26 |StillFir|ing() &&|
|00001360| 20 21 62 53 75 63 63 65 | 73 73 20 29 0d 0a 09 09 | !bSucce|ss )....|
|00001370| 49 6e 74 65 72 61 63 74 | 69 6f 6e 46 61 69 6c 75 |Interact|ionFailu|
|00001380| 72 65 28 29 3b 0d 0a 0d | 0a 09 2f 2f 20 4e 6f 20 |re();...|..// No |
|00001390| 69 64 65 61 20 77 68 79 | 20 53 61 76 65 64 49 50 |idea why| SavedIP|
|000013a0| 20 77 61 73 20 73 6f 6d | 65 74 69 6d 65 73 20 6e | was som|etimes n|
|000013b0| 6f 6e 65 20 68 65 72 65 | 2e 20 20 43 6f 6d 70 6c |one here|. Compl|
|000013c0| 65 74 65 6c 79 20 62 72 | 65 61 6b 73 0d 0a 09 2f |etely br|eaks.../|
|000013d0| 2f 20 64 65 74 70 61 63 | 6b 73 20 69 66 20 73 6f |/ detpac|ks if so|
|000013e0| 2e 0d 0a 09 69 66 28 20 | 53 61 76 65 64 49 50 3f |....if( |SavedIP?|
|000013f0| 20 29 0d 0a 09 09 50 6c | 61 63 65 44 65 74 70 61 | )....Pl|aceDetpa|
|00001400| 63 6b 28 29 3b 0d 0a 0d | 0a 09 50 6f 70 53 74 61 |ck();...|..PopSta|
|00001410| 74 65 28 29 3b 0d 0a 7d | 0d 0a 0d 0a 73 69 6d 75 |te();..}|....simu|
|00001420| 6c 61 74 65 64 20 73 74 | 61 74 65 20 4d 61 69 6e |lated st|ate Main|
|00001430| 0d 0a 7b 0d 0a 09 73 69 | 6d 75 6c 61 74 65 64 20 |..{...si|mulated |
|00001440| 66 75 6e 63 74 69 6f 6e | 20 55 6e 69 6e 69 74 69 |function| Uniniti|
|00001450| 61 6c 69 7a 65 28 29 0d | 0a 09 7b 0d 0a 09 09 53 |alize().|..{....S|
|00001460| 75 70 65 72 2e 55 6e 69 | 6e 69 74 69 61 6c 69 7a |uper.Uni|nitializ|
|00001470| 65 28 29 3b 0d 0a 09 09 | 61 6e 4c 6f 77 65 72 2e |e();....|anLower.|
|00001480| 41 6e 69 6d 20 3d 20 44 | 65 66 61 75 6c 74 2e 61 |Anim = D|efault.a|
|00001490| 6e 4c 6f 77 65 72 2e 41 | 6e 69 6d 3b 0d 0a 09 7d |nLower.A|nim;...}|
|000014a0| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 09 53 70 65 63 69 61 |..}..../|/.Specia|
|000014b0| 6c 46 69 72 65 41 6e 69 | 6d 3d 27 53 50 5f 44 65 |lFireAni|m='SP_De|
|000014c0| 74 70 61 63 6b 27 0d 0a | 00 |tpack'..|. |
+--------+-------------------------+-------------------------+--------+--------+